<#import "/include/ui.ftl" as blue />

	<div class="am-u-sm-12">
		<table class="am-table am-table-striped am-table-hover">
			<thead>
			<tr>
				<th width="60">序号</th>
				<th width="150">帐号</th>
				<th width="150">手机</th>
				<th width="100">昵称</th>
				<th>邮箱</th>
				<th width="150">角色</th>
				<th width="200">创建时间</th>
				<th width="200">登录时间</th>
				<th width="100">状态</th>
				<th width="170">操作</th>
			</tr>
			</thead>
			<tbody>
			<#list page.objectList as vo>
			<tr>
				<td>${vo_index+1}</td>
				<td title="${vo.name!}">${vo.name!}</td>
				<td>${vo.mobile!}</td>
				<td>${vo.nickname!}</td>
				<td title="${vo.email!}">${vo.email!}</td>
				<td title="${vo.roleNames!}">${vo.roleNames!}</td>
				<td>${vo.createTime?datetime}</td>
				<td>${vo.loginTime?datetime}</td>
				<td>${vo.auth!}</td>
				<td>
					<div class="am-btn-group">
						<a href="${path}/user/user_get?id=${vo.id}" class="am-btn am-btn-primary am-btn-sm am-radius">编辑</a>
						<a href="${path}/user/user_role_get?id=${vo.id}" class="am-btn am-btn-danger am-btn-sm am-radius">编辑角色</a>
					</div>
				</td>
			</tr>
			</#list>
			</tbody>
		</table>
	</div>
	
	<@blue.pagebar page=page url="/user/user_list" />